home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 25 / Cream of the Crop 25.iso / utility / ffe101.zip / DATABASE.SWG / 0003_PARADOX.pas < prev    next >
Pascal/Delphi Source File  |  1996-09-03  |  1KB  |  32 lines

  1. --------X-PARADOX DATAFILES-?---------------
  2.  
  3. The data files for the paradox database engine have the following format:
  4.  
  5. OFFSET              Count TYPE   Description
  6. 0000h                   1 byte   Number of bytes per record
  7. 0001h                  32 byte   ????
  8. 0021h                   1 byte   Number of fields per record
  9. 0022h                   1 byte   ?Password protected? / other flags ?
  10.                                  - if password protected, 32 more bytes
  11.                                    seem to be inserted.
  12. 0023h                  ?? byte   ?????
  13. 0058h                   ? rec
  14.                         1 byte   Field type ?
  15.                                  1 - character field
  16.                                  5 - currency?
  17.                                  6 - integer
  18.                         1 byte   Field length
  19.  
  20. After  that,  my  information becomes really  blurry  :-I There seems to
  21. follow the name of the file, and some 0-filled areas, and after that the
  22. "first  ASCII character after 0C0h" is said to be the start of the field
  23. names.  Each field name is in ASCIZ.  The actual records start after the
  24. field  names, either at the 4th byte  after 00h 02h (the sequence ending
  25. the field names section) or after 00h 02h 00h 00h 00h.
  26.  
  27. EXTENSION:???
  28. OCCURENCES:PC
  29. PROGRAMS:Paradox engine
  30. SEE ALSO:
  31.  
  32.